package com.tbs.parkingsaleapp.UI.Listenners;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.view.View;
import com.tbs.parkingsaleapp.UI.FaceTakeActivity;
import com.tbs.parkingsaleapp.UI.LoginOrSign.LoginOrSign;

public class TakeFaceStrOnClickListenner implements View.OnClickListener {
    Context context;
    int req;
    public TakeFaceStrOnClickListenner(Context c,int request)
    {
        context=c;
        req=request;
    }
    @Override
    public void onClick(View view) {
        Activity activity= (Activity) context;
        Intent intent=new Intent();
        intent.setClass(context,FaceTakeActivity.class);
        activity.startActivityForResult(intent, req);
    }
}

